package com.ctrip.ec.biz.entity.invite;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_invite_code")
public class InviteCodeEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("member_id")
    private Long memberId;
    @DbColumn("code")
    private String code;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("use_time")
    private Timestamp useTime;
    @DbColumn("in_use")
    private Boolean inUse;
    @DbColumn("use_member_id")
    private Long useMemberId;

    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getMemberId(){
        return this.memberId;
    }
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    public  String getCode(){
        return this.code;
    }
    public void setCode(String code){
        this.code = code;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Timestamp getUseTime(){
        return this.useTime;
    }
    public void setUseTime(Timestamp useTime){
        this.useTime = useTime;
    }
    public  Boolean getInUse(){
        return this.inUse;
    }
    public void setInUse(Boolean inUse){
        this.inUse = inUse;
    }
    public  Long getUseMemberId(){
        return this.useMemberId;
    }
    public void setUseMemberId(Long useMemberId){
        this.useMemberId = useMemberId;
    }
}